Results for spec@arb_separate_shader_objects@400 combinations by location

Overview

Result: pass

Back to summary

Details

Detail Value
Returncode 0
Time 0:00:04.671930
Stdout
piglit: info: Falling back to GL 1.0 compatibility context
Generating vertex shaders...
#version 120
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_explicit_attrib_location: require

layout(location = 0) in vec4 piglit_vertex;
layout(location = 1) in vec3 vertex_color;

layout(location = 3) out vec3 a;

const vec4 offset = vec4(2, 0, 0, 0);

uniform mat4 transform;

void main()
{
    gl_Position = transform * (piglit_vertex + offset);
    a = vertex_color;
}

Generating fragment shaders...
#version 120
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_explicit_attrib_location: enable

#if __VERSION__ >= 130
layout(location = 0) out vec4 out_color;
#else
#define out_color gl_FragColor
#endif

layout(location = 3) in vec3 b;

const vec3 color_offset = vec3(1, -3, 21);

void main()
{
    out_color = vec4(b + color_offset, 1.);
}

Stderr
piglit: error: waffle_context_create failed due to WAFFLE_ERROR_UNKNOWN: glXCreateContextAttribsARB failed
piglit: error: Failed to create waffle_context for OpenGL 3.1 Forward-Compatible Core Context
Environment
PIGLIT_SOURCE_DIR="/home/airlied/devel/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command
/home/airlied/devel/piglit/bin/arb_separate_shader_object-400-combinations -fbo --by-location -auto
dmesg

        

Back to summary